﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;

namespace Admin.NET.Application;

/// <summary>
/// 学生导出DTO
/// </summary>
[ExcelExporter(Name = "学生", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true)]
public class ExportStudentDto
{
    /// <summary>
    /// 学号
    /// </summary>
    [ExporterHeader(DisplayName = "学号", IsBold = true)] 
    public string Xh { get; set; }
    
    /// <summary>
    /// 姓名
    /// </summary>
    [ExporterHeader(DisplayName = "姓名", IsBold = true)] 
    public string Name { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    [ExporterHeader(DisplayName = "性别", IsBold = true)] 
    public string? Sex { get; set; }

    /// <summary>
    /// 出生日期
    /// </summary>
    [ExporterHeader(DisplayName = "出生日期", IsBold = true,Format = "yyyy-MM-dd")]
    public DateTime? Birthday { get; set; }

    /// <summary>
    /// 身份证号
    /// </summary>
    [ExporterHeader(DisplayName = "身份证号", IsBold = true)] 
    public string? IdCardNum { get; set; }

    /// <summary>
    /// 全国学籍号
    /// </summary>
    [ExporterHeader(DisplayName = "全国学籍号", IsBold = true)] 
    public string? NationalNum { get; set; }

    /// <summary>
    /// 学籍辅号
    /// </summary>
    [ExporterHeader(DisplayName = "学籍辅号", IsBold = true)] 
    public string? AssistNum { get; set; }

    /// <summary>
    /// 在校
    /// </summary>
    [ExporterHeader(DisplayName = "在校", IsBold = true)] 
    public bool BeAtSchool { get; set; }

    /// <summary>
    /// 在籍
    /// </summary>
    [ExporterHeader(DisplayName = "在籍", IsBold = true)] 
    public bool BeAtBook { get; set; }

    /// <summary>
    /// 手机
    /// </summary>
    [ExporterHeader(DisplayName = "手机", IsBold = true)] 
    public string? Tel { get; set; }

    /// <summary>
    /// 母亲姓名
    /// </summary>
    [ExporterHeader(DisplayName = "母亲姓名", IsBold = true)]
    public string? MotherName { get; set; }

    /// <summary>
    /// 母亲手机
    /// </summary>
    [ExporterHeader(DisplayName = "母亲手机", IsBold = true)]
    public string? MotherTel { get; set; }

    /// <summary>
    /// 父亲姓名
    /// </summary>
    [ExporterHeader(DisplayName = "父亲姓名", IsBold = true)]
    public string? FatherName { get; set; }

    /// <summary>
    /// 父亲手机
    /// </summary>
    [ExporterHeader(DisplayName = "父亲手机", IsBold = true)]
    public string? FatherTel { get; set; }

    /// <summary>
    /// 班级 描述
    /// </summary>
    [ExporterHeader(DisplayName = "班级", IsBold = true)] 
    public string? BanjiIdName { get; set; }

    /// <summary>
    /// 教学班
    /// </summary>
    [ExporterHeader(DisplayName = "教学班", IsBold = true)] 
    public string? JiaoxueBanIdName { get; set; }

    /// <summary>
    /// 托管
    /// </summary>
    [ExporterHeader(DisplayName = "托管", IsBold = true)] 
    public bool IsTuoguan { get; set; }

    /// <summary>
    /// 备注0
    /// </summary>
    [ExporterHeader(DisplayName = "备注0", IsBold = true)] 
    public string? Beizhu0 { get; set; }

    /// <summary>
    /// 备注1
    /// </summary>
    [ExporterHeader(DisplayName = "备注1", IsBold = true)] 
    public string? Beizhu1 { get; set; }

    /// <summary>
    /// 备注2
    /// </summary>
    [ExporterHeader(DisplayName = "备注2", IsBold = true)] 
    public string? Beizhu2 { get; set; }
    
}
 

